package org.edu.modules.oa.entity.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;

/**
 * @author 林彬辉
 * @version V1.0
 * @Package org.edu.modules.oa.entity.bo
 * @date 2021/7/31 14:34
 */
@Data
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class DepartmentBo implements Serializable {

    @ApiModelProperty(value = "部门id")
    private Long id;

    @ApiModelProperty(value = "机构号")
    private String jgh;

    @ApiModelProperty(value = "机构名称")
    private String jgmc;

    @ApiModelProperty(value = "机构英文名称")
    private String jgywmc;

    @ApiModelProperty(value = "机构简称")
    private String jgjc;

    @ApiModelProperty(value = "")
    private String jgjp;

    @ApiModelProperty(value = "机构地址")
    private String jgdz;

    @ApiModelProperty(value = "")
    private String dssjjgh;

    @ApiModelProperty(value = "上级id")
    private Long pid;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "")
    private String lsxqh;

    @ApiModelProperty(value = "校区id")
    private Integer campusId;

    @ApiModelProperty(value = "建立年月")
    private Long jlny;

    @ApiModelProperty(value = "机构邮政编码")
    private String jgyzbm;

    @ApiModelProperty(value = "负责人用户id")
    private String fzrUserId;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "系统id")
    private Integer terminalid;

    @ApiModelProperty(value = "")
    private String fgldUserId;

    @ApiModelProperty(value = "")
    private DepartmentBo[] children;

//    @ApiModelProperty(value = "")
//    private DepartmentBo[] teacherList;
    @ApiModelProperty(value = "建立年月名")
    private String jlnyName;

    @ApiModelProperty(value = "负责人名")
    private String fzrName;

    @ApiModelProperty(value = "")
    private String fgldName;

    @ApiModelProperty(value = "校区名")
    private String campusName;


}
